/*-- scss:defaults --*/
/*-- scss:rules --*/
/* global layout styles */
/* helpful for docs with no header space
.cr-section .narrative-col > *:first-child {
  padding-block-start: 10svh !important;
}
*/




@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');


#quarto-search-results {
  display: none !important;
}

main.content > section:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Stop margin collapsing at the top */
section.level1 {
  display: flow-root;
}

.quarto-container,
.page-columns,
main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

h1 {
  margin-top: -1% !important;
  padding-top: -3% !important;
  padding-bottom: 15;
}

.quarto-container .page-columns {
  display: block !important;
  width: 100vw !important;
  max-width: 100vw !important;

  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.quarto-container .page-columns > * {
  grid-column: auto !important;
}

.cr-section h1,
.cr-section h2,
.cr-section h3,
.cr-section p {
  max-width: var(--cr-narrative-overlay-max-width);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body,
.cr-section,
.cr-section * {
  font-family: 'Rubik', sans-serif !important;
}

#quarto-document-content p {
  max-width: 60vw;
  margin-left: auto;
  margin-right: auto;
  text-align: left !important;
}


h3  {
  font-family: 'Rubik', sans-serif !important;
  color: #d24699;
  width: 100vw;
  padding-top:50px;
  font-size: 18px;
  margin: 0 auto;
  text-align: center;
}



:root {
  --cr-narrative-font-family: 'Rubik', sans-serif;
}

/* Apply Rubik to the entire document body */
body {
  font-family: 'Rubik', sans-serif !important;
  color: #53284f;
}



h1 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 1px;
}

h2 {
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 18px;
}

h3 {
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  padding-top: 10px;
  font-size: 16px;
}

p {
  font-size: 16px;
  line-height: 1.6;
  max-width 80vw;
}

.cr-section {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

body {
  overflow-x: hidden;
}

.cr-section {
  display: grid;
  grid-template-rows: 1fr;
  background-color: var(--cr-section-background-color);
}
.cr-section.cr-column-screen {
  grid-column: screen-start/screen-end !important;
  z-index: 998;
  opacity: 0.999;
}
.cr-section .narrative-col {
  grid-row: 1;
  font-family: var(--cr-narrative-font-family);
  font-size: var(--cr-narrative-font-size);
}
.cr-section .narrative-col .trigger {
  padding-block: 45svh;
  padding-inline: 24px;
}
.cr-section .narrative-col .trigger .narrative {
  padding: 0.7em 0.75em;
}
.cr-section .narrative-col .trigger .narrative > p {
  margin-bottom: 0;
}
.cr-section .narrative-col .trigger:has(.cr-spacer) {
  visibility: hidden;
  padding-block: 0;
}
.cr-section .sticky-col {
  grid-row: 1;
}
.cr-section .sticky-col .sticky-col-stack {
  display: grid;
  height: 100dvh;
  position: sticky;
  overflow: hidden;
  top: 0;
}
.cr-section .sticky-col .sticky-col-stack .sticky {
  grid-area: 1/1;
  margin: auto;
  opacity: 0;
  transition: opacity linear 0.5s, color 0.7s linear, transform 1s ease-in-out, transform-origin 1s ease-in-out;
}
.cr-section .sticky-col .sticky-col-stack .sticky:has(.line-block) {
  font-family: var(--cr-poem-font-family);
  transition: transform 0.8s ease-in-out;
}
.cr-section .sticky-col .sticky-col-stack .sticky:has(.line-block) {
  font-family: var(--cr-poem-font-family);
  transition: transform 0.8s ease-in-out, font-size 0.8s ease-in-out;
}
.cr-section .sticky-col .sticky-col-stack div.sourceCode {
  background-color: rgb(233, 236, 239);
}
.cr-section .sticky-col .sticky-col-stack .cr-active {
  opacity: 1;
}
.cr-section .sticky-col .sticky-col-stack .cr-active.cr-hl-within .sourceCode span[id^=cb] {
  opacity: 0.3;
  transition: opacity linear 0.3s;
}
.cr-section .sticky-col .sticky-col-stack .cr-active.cr-hl-within .sourceCode span[id^=cb].cr-hl {
  opacity: 1;
  transition: opacity linear 0.3s;
}
.cr-section .sticky-col .sticky-col-stack .cr-active.cr-hl-within div.line-block span[id^=lb] {
  color: #53284f;
  transition: color 0.7s linear;
}
.cr-section .sticky-col .sticky-col-stack .cr-active.cr-hl-within div.line-block span[id^=lb].cr-hl {
  color: #D24699;
  transition: color 0.7s linear;
}
.cr-section .sticky-col .sticky-col-stack .cr-active.cr-hl-within div.line-block span[id^=lb] span.cr-hl {
  color: #D24699;
  font-weight: 700;
  transition: color 0.7s linear;
}

/* mobile sizing (bootstrap: xs) is always overlay-center */
@media (max-width: 575.98px) {
  .cr-section.sidebar-left,
  .cr-section.sidebar-right,
  .cr-section.overlay-left,
  .cr-section.overlay-right,
  .cr-section.overlay-center {
    grid-template-columns: 1fr;
  }
  .cr-section.sidebar-left .narrative-col,
  .cr-section.sidebar-right .narrative-col,
  .cr-section.overlay-left .narrative-col,
  .cr-section.overlay-right .narrative-col,
  .cr-section.overlay-center .narrative-col {
    grid-column: 1;
    z-index: 1;
    margin-inline: auto;
    background-color: transparent;
  }
  .cr-section.sidebar-left .narrative-col .narrative,
  .cr-section.sidebar-right .narrative-col .narrative,
  .cr-section.overlay-left .narrative-col .narrative,
  .cr-section.overlay-right .narrative-col .narrative,
  .cr-section.overlay-center .narrative-col .narrative {
    background-color: var(--cr-narrative-background-color-overlay);
    color: var(--cr-narrative-text-color-overlay);
    padding: 0.3em 0.5em;
    border-radius: var(--cr-narrative-border-radius);
  }
  .cr-section.sidebar-left .sticky-col,
  .cr-section.sidebar-right .sticky-col,
  .cr-section.overlay-left .sticky-col,
  .cr-section.overlay-right .sticky-col,
  .cr-section.overlay-center .sticky-col {
    grid-column: 1;
  }
}
.overlay-left,
.overlay-center,
.overlay-right {
  grid-template-columns: 1fr;
}
.overlay-left .narrative-col,
.overlay-center .narrative-col,
.overlay-right .narrative-col {
  grid-column: 1;
  z-index: 1;
  transition: opacity 0.5s ease-in-out;
  max-width: var(--cr-narrative-overlay-max-width);
  min-width: var(--cr-narrative-overlay-min-width);
}
.overlay-left .narrative-col .narrative,
.overlay-center .narrative-col .narrative,
.overlay-right .narrative-col .narrative {
  background-color: var(--cr-narrative-background-color-overlay);
  color: var(--cr-narrative-text-color-overlay);
  border-radius: var(--cr-narrative-border-radius);
}
.overlay-left .sticky-col,
.overlay-center .sticky-col,
.overlay-right .sticky-col {
  grid-column: 1;
}

.overlay-left .narrative-col {
  justify-self: start;
  margin-left: var(--cr-narrative-outer-margin);
}


.overlay-left .narrative-col .narrative {
  max-width: min(360px, 98vw) !important;
}

.overlay-center .narrative-col {
  justify-self: center;
}

.overlay-right .narrative-col {
  justify-self: end;
  margin-right: var(--cr-narrative-outer-margin);
}

.sidebar-left {
  grid-template-columns: var(--cr-narrative-sidebar-width) 2fr;
}
.sidebar-left .narrative-col {
  grid-column: 1;
  margin-inline: 0;
  background-color: var(--cr-narrative-background-color-sidebar);
}
.sidebar-left .narrative-col .narrative {
  padding: 0 0.75em;
  color: var(--cr-narrative-text-color-sidebar);
}
.sidebar-left .sticky-col {
  grid-column: 2;
}

.sidebar-right {
  grid-template-columns: 2fr var(--cr-narrative-sidebar-width);
}
.sidebar-right .narrative-col {
  grid-column: 2;
  margin-inline: 0;
  background-color: var(--cr-narrative-background-color-sidebar);
}
.sidebar-right .narrative-col .narrative {
  padding: 0 0.75em;
  color: var(--cr-narrative-text-color-sidebar);
}
.sidebar-right .sticky-col {
  grid-column: 1;
}

.presentation-mode.overlay-left,
.presentation-mode.overlay-center,
.presentation-mode.overlay-right,
.presentation-mode.sidebar-left,
.presentation-mode.sidebar-right {
  grid-template-columns: 1fr !important;
}
.presentation-mode.overlay-left .narrative-col,
.presentation-mode.overlay-center .narrative-col,
.presentation-mode.overlay-right .narrative-col,
.presentation-mode.sidebar-left .narrative-col,
.presentation-mode.sidebar-right .narrative-col {
  grid-column: 1 !important;
  z-index: 1 !important;
  margin-inline: 10% !important;
  opacity: 0 !important;
  transition: opacity 0.5s ease-in-out;
}
.presentation-mode.overlay-left .sticky-col,
.presentation-mode.overlay-center .sticky-col,
.presentation-mode.overlay-right .sticky-col,
.presentation-mode.sidebar-left .sticky-col,
.presentation-mode.sidebar-right .sticky-col {
  grid-column: 1 !important;
}

/* debug styles */
body.cr-debug .cr-poem {
  background-color: rgba(255, 255, 0, 0.6);
  border: 1px solid orange;
}
body.cr-debug .sticky {
  opacity: 0.8;
}
body.cr-debug .narrative-col .trigger {
  background: rgba(0, 208, 255, 0.5);
  border: 1px solid orange;
  border-radius: var(--cr-narrative-border-radius);
}
body.cr-debug .narrative-col .trigger.new-trigger {
  background: lightgreen;
}

/* remove header option */
body.cr-removeheaderspace #quarto-content main#quarto-document-content {
  padding-top: 0;
  margin-top: 0;
}
body.cr-removeheaderspace #quarto-content main#quarto-document-content .quarto-title-block {
  display: none;
}

/* configurable style variables. use bootstrap variables where possible */
:root {
  --cr-narrative-background-color-overlay: #0075A9E6;
  --cr-narrative-text-color-overlay: white;
  --cr-narrative-background-color-sidebar: transparent;
  --cr-narrative-text-color-sidebar: #53284f;
  --cr-narrative-border-radius: .75rem;
  --cr-narrative-overlay-max-width: 527.98px;
  --cr-narrative-overlay-min-width: none;
  --cr-narrative-outer-margin: 2.5%;
  --cr-narrative-font-family: var(--bs-body-font-family);
  --cr-narrative-font-size: 1.15rem;
  --cr-poem-font-family: Rubik;
  --cr-narrative-sidebar-width: 0.75fr;
  --cr-section-background-color: white;
}
/* Base font */
body {
  font-family: 'Rubik', sans-serif !important;
  color: #53284f;
}

/* h1 — top layer */

h1 {
  position: sticky;
  top: 0;
  color: white;
  padding-left:5%;
  z-index: 1001; /* bump above everything */
  background-color: #53284f;
}

/* h2 — stacked under h1 */
h2 {
  top: 5%;
  background-color:white;
  padding-left:5%;
  z-index: 1000;
}

/* h3+ — narrative card */
h3, h4, h5 {
  font-family: 'Rubik', sans-serif !important;
  position: sticky;
  top: 80px; /* h1 + h2 */
  z-index: 998;

  color: #d24699;
  background-color: #F8F5FA;

  padding: 0.5rem 1rem;
  border-radius: 0.75rem;

  width: 100$;
  max-width: 800px;
  margin: 0 auto;

  text-align: center;

  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
}

/* HARD override: paint everything inside this section */
.quote-section,
.quote-section * {
  /* don't set background here; too aggressive */
}

/* Section background (some layouts use this) */
.quote-section {
  background: #FFBF3C !important;
}

/* Common closeread containers that may hold the visible background */
.quote-section .cr-content,
.quote-section .cr-sticky,
.quote-section .cr-overlay,
.quote-section .cr-overlay-content,
.quote-section .cr-panel,
.quote-section .cr-viewport {
  background: #FFBF3C!important;
  font-size: 1;
  color: #fff !important;
}

/* Quote block itself (often has its own background) */
.quote-section .cr-text,
.quote-section blockquote,
.quote-section .quote,
.quote-section .callout {
  background: transparent !important;
  color: #fff !important;
  width:fit-content;
  padding:8% 0.9rem;
}

.cr-hover-content .tip{
  font-size: 1.05rem;   /* increase as needed */
  line-height: 1.35;
}




/* One-off narrative styling: add `.cr-narrative-oneoff` to a `.cr-section` */
.cr-section.cr-narrative-emphasis .narrative-col {
  background: linear-gradient(180deg, #fff7fc 0%, #ffffff 100%);
  border-left: 6px solid #d24699;
  border-radius: 0.8rem;
  padding: 0.75rem 0.9rem;
}

.cr-section.cr-narrative-oneoff .narrative {
  font-size: 1.05rem;
  line-height: 1.55;
}

.cr-section.cr-narrative-oneoff .narrative strong {
  color: #7d1f5f;
}






.big-narrative .cr-narrative {
  font-size: 1.35rem !important;
  line-height: 1.7 !important;
}

.big-narrative .cr-narrative p,
.big-narrative .cr-narrative li {
  font-size: 1.35rem !important;
  line-height: 1.7 !important;
}

.big-narrative .cr-narrative strong {
  font-size: 1.4rem !important;
}

.big-narrative .cr-narrative h2,
.big-narrative .cr-narrative h3,
.big-narrative .cr-narrative h4 {
  font-size: 1.6rem !important;
  line-height: 1.3 !important;
}


.quote-section .cr-text {
  font-size: 24px;
  text-align: left;
}


/*# sourceMappingURL=closeread.css.map */

.cr-section.hide-narrative .narrative {
  display: none !important;
}


/* Let ALL interactions pass through the narrative column */
.cr-section .narrative-col {
  pointer-events: none !important;
}

/* Re-enable interaction ONLY for actual narrative content */
.cr-section .narrative,
.cr-section .narrative * {
  pointer-events: auto !important;
}


.key-number {
  color: #D24699 !important;
  font-weight: 650 !important;
  transition: color 0.7s linear !important;
}


.key-number1 {
  font-weight: 700 !important;
}

/* css styles */

.marker-cluster-fpp {
  background: #0075A9E6;
}

.marker-cluster-fpp div {
  background: #0075A9E6;
  color: #fff;
}

.marker-cluster-htw {
  background: #D24699;
}

.marker-cluster-htw div {
  background: #D24699;
  color: #fff;
}







/* ================================
   CITATION LINKS
================================ */

.citation a {
  color: inherit;
  text-decoration: none;
}

.citation a:hover {
  color: inherit;
  text-decoration: underline;
}







/* Remove default numbering */
.footnotes ol {
  list-style: none;
  padding-left: 0;
  counter-reset: fn;
  max-width: 60vw;
}

/* Footnote items */
.footnotes li {
  counter-increment: fn;
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 0.6em;
}

/* Custom letter marker */
.footnotes li::before {
  content: counter(fn, lower-alpha) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  color: inherit;
}

/* Remove paragraph spacing added by Pandoc */
.footnotes li p {
  margin: 0;
  display: inline;
}


.footnotes {
  max-width: 60vw;
  margin: 0 auto;
}





















/* Reset counter */
body {
  counter-reset: footnote;
}

/* Footnote references (in text) */
a[role="doc-noteref"] {
  counter-increment: footnote;
  color:inherit;
  font-weight: 600;
  
}

/* Replace number with letter */
a[role="doc-noteref"]::before {
  content: counter(footnote, lower-alpha);
  font-size: 0.75em;
  color:inherit;  vertical-align: super;
}

/* Hide the original number */
a[role="doc-noteref"] sup {
  display: none;
}


/* Reference superscripts */
a[role="doc-biblioref"],
a[role="doc-biblioref"] sup {
  color: inherit !important;
  font-weight: 600;/* change to your color */
}
/* ================================
   TOOLTIP (tippy.js)
================================ */

.tippy-box {
  background-color: #ffffff;
  color: #53284f;

  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.85rem;
  line-height: 1.4;

  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Arrow (more robust selector) */
.tippy-arrow::before {
  border-top-color: #ffffff !important;
}

/* Optional: style links inside tooltip */
.tippy-box a {
  color: #53284f;
  text-decoration:;
}




/* Reference block */
.references {
  line-height: 1.55;
}

/* Each citation */
.references .csl-entry {
  margin-bottom: 0.65em;
}

/* Number */
.references .csl-left-margin {
  display: inline;
  margin-right: 0.35em;
}









/* Remove hanging indent from references */
.references .csl-entry {
  padding-left: 0 !important;
  text-indent: 0 !important;
  margin-left: 0 !important;
}


/* Kill default Quarto "note" styling (the blue) */
.callout.callout-note {
  border: none !important;
  box-shadow: none !important;
}

/* Force your header to fully override */
.callout.callout-note .callout-header {
  background-color: #53284f !important;
  color: white !important;
}

/* Remove that faint blue header overlay */
.callout.callout-note .callout-title-container {
  background: transparent !important;
}

/* Ensure body matches your design (no gray/blue tint) */
.callout.callout-note .callout-body {
  background-color: #F8F5FA !important;
}



/* ================================
   CALLOUT (CLEAN CARD STYLE)
================================ */

.callout {
  max-width: 800px;
  margin: 1rem auto;
  border-radius: 14px;
  background-color: #F8F5FA;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
}

/* Subtle left accent (not bulky) */
.callout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: #D24699;
}

/* ================================
   HEADER
================================ */

.callout-header {
  background-color: #53284f;
  color: white;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
}

/* Title text (clean, no pink clash) */
.callout-title {
  color: white;
  font-weight: 600;
}

/* Remove weird container styling */
.callout-title-container {
  background: none;
  border-radius: 0;
}

/* ================================
   BODY
================================ */

.callout-body {
  color: #53284f;
  padding: 1rem 1.25rem;
  line-height: 1.5;
}

/* ================================
   REMOVE ICON
================================ */

.callout-icon {
  display: none;
}

/* ================================
   HOVER (SUBTLE POLISH)
================================ */

.callout:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: all 0.2s ease;
}


h1 .info-icon {
  opacity: 1;
}

h1 .info-icon > :not(.info-popup) {
  opacity: 0.5;
}

h1 .info-icon {
  width: 16px;
  height: 16px;

  font-size: 0.55rem;

  border-width: 1.5px;
}




h1 .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-left: 0.45rem;
  margin-top: -4px;

  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);

  color: rgba(255,255,255,0.5);

  font-size: 0.5rem;

  cursor: help

  position: relative;
  vertical-align: middle;
}

.info-popup {
  position: fixed;

  top: 42px;
  left: 50%;

  transform: translateX(-50%);

  width: 60vw;

  padding: 0.9rem 1rem;

  background: white;
  color: #4b2354;

  border-radius: 12px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.15);

  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 400;

  opacity: 0;
  visibility: hidden;

  transition: all 0.2s ease;

  z-index: 9999;
}

.info-icon:hover .info-popup,
.info-icon:focus-within .info-popup {
  opacity: 1;
  visibility: visible;
}

.info-popup ul {
  padding-left: 1rem;
  margin: 0;
}

.info-popup li {
  margin-bottom: 0.7rem;
}

.info-popup {
  position: fixed;
  top: 120px;              /* adjust vertical placement */
  left: 50vw;              /* viewport center */
  transform: translateX(-50%);
  max-width: 400px;
  z-index: 9999;
}




.cr-help-button {
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
}


/* Floating modal trigger ONLY */
[data-bs-toggle="modal"][data-bs-target="#modal-scrollable"] {

  position: fixed;

  bottom: 50px;
  right: 12px;

  width: 50px;
  height: 50px;

  display: flex !important;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255,255,255,0.18);

  color: #A9A9A9 !important;

  opacity: 0.9;

  text-decoration: none !important;

  box-shadow: none !important;
  outline: none !important;
  border: none !important;

  transition:
    right 0.25s ease,
    background 0.25s ease;

  z-index: 9999;

  appearance: none;
  -webkit-appearance: none;
}

/* Hover slide */
[data-bs-toggle="modal"][data-bs-target="#modal-scrollable"]:hover {
  right: 18px;
}

/* Remove pseudo-element effects */
[data-bs-toggle="modal"][data-bs-target="#modal-scrollable"]::before,
[data-bs-toggle="modal"][data-bs-target="#modal-scrollable"]::after {
  display: none !important;
}

/* Modal size */
#modal-scrollable .modal-dialog {
  min-width: 50vw;
  max-height: 60vh;
  top: 10vh;
}

/* Footer button */
#modal-scrollable .modal-footer .btn {
  background: #A9A9A9;
  border: none;

  color: white;

  border-radius: 0.6rem;

  padding: 0.45rem 1rem;

  font-weight: 500;
}